﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using zkdao.Domain;
using zkdao.Enum;

namespace zkdao.Application {

    [ServiceContract(Namespace = "www.zkdao.com")]
    public interface IImageService {
        [OperationContract]
        ImageData Get(int ID);
        [OperationContract]
        ImageData GetByPath(string path);
        [OperationContract]
        ImageData GetByHost(eImageHostType hostType, string hostId);
        [OperationContract]
        ImageData Creat(ImageData dataObject, string userKey);
        [OperationContract]
        void Update(ImageData dataObject);
    }
}